package com.nl.deal;

import java.sql.Timestamp;

public class ThresholdInfo {
	
	private String mgrId;//��Ŀ����
	
	private long totalCount;//�ύ����������������
	
	private long yearCount;//��ǰ���ύ����������������
	
	private long quarterCount;//��ǰ�����ύ����������������
	
	private long monthCount;//��ǰ���ύ����������������
	
	private long weekCount;//��ǰ���ύ����������������
	
	private long dayCount;//�����ύ����������������
	
	private long timeCount;//ʱ���֮���ύ����������������
	
	private String modyfyTime;//��һ�δ���ʱ�䣬����������¿缾�ȿ����
	
	private int isThreshold;//0 ������  1  ����ȫ����   2  ��������    3  ȫ������
	
	private long totalThreshold;//���巧ֵ	
	
	private int cycle;//1 ���� 2 ���� 3 ���� 4 ���� 5 ��ʱ���
	
	private long cycleThreshold;//���ڷ�ֵ
	
	private Timestamp thresholdEndTime;//��ֵ���ڰ�ʱ��ο�ʼʱ�䣨����CYCLEΪ5��ʱ����
	
	private Timestamp thresholdStartTime;//��ֵ���ڰ�ʱ��ο�ʼʱ�䣨����CYCLEΪ5��ʱ����

	private int status;//�Ƿ����÷�ֵͳ�� 0 ����Ҫ 1 ��Ҫ ��2 �м�״̬���������ã�2�������Ҫ���±���statusΪ0��

	private String today;
	public String getMgrId() {
		return mgrId;
	}

	public void setMgrId(String mgrId) {
		this.mgrId = mgrId;
	}

	public long getTotalCount() {
		return totalCount;
	}

	public void setTotalCount(long totalCount) {
		this.totalCount = totalCount;
	}

	public long getYearCount() {
		return yearCount;
	}

	public void setYearCount(long yearCount) {
		this.yearCount = yearCount;
	}

	public long getQuarterCount() {
		return quarterCount;
	}

	public void setQuarterCount(long quarterCount) {
		this.quarterCount = quarterCount;
	}

	public long getMonthCount() {
		return monthCount;
	}

	public void setMonthCount(long monthCount) {
		this.monthCount = monthCount;
	}

	public long getWeekCount() {
		return weekCount;
	}

	public void setWeekCount(long weekCount) {
		this.weekCount = weekCount;
	}

	public long getDayCount() {
		return dayCount;
	}

	public void setDayCount(long dayCount) {
		this.dayCount = dayCount;
	}

	public long getTimeCount() {
		return timeCount;
	}

	public void setTimeCount(long timeCount) {
		this.timeCount = timeCount;
	}

	public String getModyfyTime() {
		return modyfyTime;
	}

	public void setModyfyTime(String modyfyTime) {
		this.modyfyTime = modyfyTime;
	}

	public int getIsThreshold() {
		return isThreshold;
	}

	public void setIsThreshold(int isThreshold) {
		this.isThreshold = isThreshold;
	}

	public long getTotalThreshold() {
		return totalThreshold;
	}

	public void setTotalThreshold(long totalThreshold) {
		this.totalThreshold = totalThreshold;
	}

	public int getCycle() {
		return cycle;
	}

	public void setCycle(int cycle) {
		this.cycle = cycle;
	}

	public long getCycleThreshold() {
		return cycleThreshold;
	}

	public void setCycleThreshold(long cycleThreshold) {
		this.cycleThreshold = cycleThreshold;
	}

	public long getThresholdEndTime() {
		return thresholdEndTime==null?0:thresholdEndTime.getTime();	
	}

	public void setThresholdEndTime(Timestamp thresholdEndTime) {
		this.thresholdEndTime = thresholdEndTime;
	}

	public long getThresholdStartTime() {
		return thresholdStartTime==null?0:thresholdStartTime.getTime();	
	}

	public void setThresholdStartTime(Timestamp thresholdStartTime) {
		this.thresholdStartTime = thresholdStartTime;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	
	public String getToday() {
		return today;
	}

	public void setToday(String today) {
		this.today = today;
	}

	@Override
	public String toString() {
		return "ThresholdInfo [mgrId=" + mgrId + ", totalCount=" + totalCount + ", yearCount=" + yearCount
				+ ", quarterCount=" + quarterCount + ", monthCount=" + monthCount + ", weekCount=" + weekCount
				+ ", dayCount=" + dayCount + ", timeCount=" + timeCount + ", modyfyTime=" + modyfyTime
				+ ", isThreshold=" + isThreshold + ", totalThreshold=" + totalThreshold + ", cycle=" + cycle
				+ ", cycleThreshold=" + cycleThreshold + ", thresholdEndTime=" + thresholdEndTime
				+ ", thresholdStartTime=" + thresholdStartTime + ", status=" + status + ", today=" + today + "]";
	}
}
